﻿namespace K9Nano.Domain.Authorization;

public static partial class FrontendRoutes
{
    /// <summary>
    /// 管理平台前端路由，同时作为权限点，Key=路由地址，Value为路由菜单名称
    /// <para>
    /// 管理平台前端路由：admin\router\index.ts
    /// </para>
    /// </summary>
    public readonly static IDictionary<string, string?> Routes = new Dictionary<string, string?>
    {
        { "/dashboard", "首页" },
        { "/dashboard/workplace", "工作台" },
        { "/authorization", "系统管理" },
        { "/authorization/user", "用户管理" },
        { "/authorization/role", "角色管理" },
        { "/authorization/setting", "系统设置" },
        { "/authorization/organization", "部门管理" },
        { "/error", null },
        { "/error/404", null },
        { "/error/403", null },
        { "/error/500", null },
        { "/log", "日志管理" },
        //{ "/log/system", "系统日志" },
        { "/log/http", "HTTP日志" },
    };
}